﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TbDataSync
{

    public class TokenId
    {
        /// <summary>
        /// 
        /// </summary>
        public string id { get; set; }
    }

    public class DeviceId
    {
        /// <summary>
        /// 
        /// </summary>
        public string entityType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string id { get; set; }
    }

    public class TokenResult
    {
        /// <summary>
        /// 
        /// </summary>
        public TokenId id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long createdTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DeviceId deviceId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string credentialsType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string credentialsId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string credentialsValue { get; set; }
    }

}
